@import '../style/theme/color';
@import '../style/theme/variables';
@import '../style/mixins/index';

.modal-header {
  padding: 30px 30px 0 30px;
  height: 56px;
  position: relative;
  border: none; // 覆盖bootStrap默认样式

  .standard-title {
    height: 26px;
    line-height: 26px;
    color: $dark-1;
    letter-spacing: 0;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

button.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 $bg-white;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;

  svg.svg-icon-close polygon {
    fill: $dark-2;
  }

  &:hover {
    svg.svg-icon-close polygon {
      fill: $hwc-color-icon-hover-active;
    }
  }
}

.header-alert-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin-top: -2px; // 使图标对其

  path.devui-icon-warning-outer {
    fill: $hwc-status-warning-border;
  }

  path.devui-icon-warning-inner {
    fill: $font-white;
    stroke: $font-white;
  }
}

.title-text {
  font-size: 18px;
  font-weight: 600;
  vertical-align: middle;
}

button {
  outline: none;
  height: 20px;
  width: 20px;
}
